import requests
url="https://item.jd.com/100048276065.html"
#加入反爬代理机制
headers={
    "user-agent":"Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Mobile Safari/537.36 Edg/111.0.1661.51"
}
response=requests.get(url,headers=headers)
response.encoding="utf-8"
#返回状态值
print(response.status_code)
print(response.text)